package com.info.zhiduoduo.repository.mapper.system;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.info.zhiduoduo.repository.entity.system.SystemScheduleTaskItem;

import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  系统定时任务表
 * Mapper 接口
 * </p>
 *
 * @author bob
 * @since 2021-11-29
 */
public interface SystemScheduleTaskItemMapper extends BaseMapper<SystemScheduleTaskItem> {

	@Select(" select * from zdd_system_schedule_task_item where task_id = #{taskId} order by exec_time desc")
	List<SystemScheduleTaskItem> listByTaskId(Integer taskId);
}
